package com.kiwilss.aopdemo.ui.hilt

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.kiwilss.aopdemo.R
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject

/**
 * @author : Administrator
 * e-mail : kiwilss@163.com
 * time   : 2021/02/04
 *  desc   :
 */
@AndroidEntryPoint
class HiltTestActivity: AppCompatActivity(R.layout.activity_hilt) {

    @Inject
    lateinit var mTruck: Truck


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        mTruck.deliver()


    }
}